package cs236369.webserver;

import java.net.Socket;
import java.util.Map;

public class Request {
	
	private Socket socket;
	private String path;
	private Map<String, String> httpParams;
	private String httpMethod;
	
	public Request(Socket _socket, String _path, Map<String, String> _httpParams, String _httpMethod) {
		socket = _socket;
		path = _path;
		httpParams = _httpParams;
		httpMethod = _httpMethod;
	}

	String getHttpMethod() {
		return httpMethod;
	}

	Socket getSocket() {
		return socket;
	}

	String getPath() {
		return path;
	}

	Map<String, String> getHttpParams() {
		return httpParams;
	}

}
